package com.server;

import com.entity.TeacherTable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.util.Response;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chl
 * @since 2022-03-22
 */
public interface ITeacherTableService extends IService<TeacherTable> {

    List<TeacherTable> selectList(TeacherTable teacherTable);

    Response add(TeacherTable node);

    List<Long> batchAdd(TeacherTable teacherTable);

    /**
     * @Author chl
     * @Description 多线程新增数据
     * @Date 17:23 2024/6/27
     * @return response response
     **/
    String multithreadingAdd();


    /**
     * @Description 多线程查询数据方法一
     * @Author chl
     * @Date 17:23 2024/6/27
     * @return response response
     **/
    List<TeacherTable> multithreadingSelect();

    List<TeacherTable> multithreadingSelect2();

    List<TeacherTable> multithreadingSelect3();

}
